package com.wlyuan.open.scanner.repository;

import com.wlyuan.open.scanner.dao.entity.OrderFlowDO;

/**
 * @author lijing
 */
public interface OrderFlowRepository {

    /**
     * 批量获取签单记录
     *
     * @param orderId
     * @return
     */
    OrderFlowDO getSignFlowByOrderId(Long orderId);

    /**
     * 批量获取回单信息
     *
     * @param orderId
     * @return
     */
    OrderFlowDO getReceiptFlowByOrderId(Long orderId);

    /**
     * 批量获取关单信息
     *
     * @param orderId
     * @return
     */
    OrderFlowDO getCloseFlowByOrderId(Long orderId);

    /**
     * 批量获取调度信息
     *
     * @param orderId
     * @return
     */
    OrderFlowDO getDispatchFlowByOrderId(Long orderId);

    /**
     * 批量获取拒绝原因
     *
     * @param orderId
     * @return
     */
    OrderFlowDO getRefuseReasonByOrderId(Long orderId);

    /**
     * 发起关单
     *
     * @param orderId
     * @return
     */
    public OrderFlowDO getCloseIngFlowByOrderId(Long orderId, Integer closeMark);
}
